package dao.interfaces;

import java.io.IOException;
import java.util.List;

import model.types.Patient;

public interface DataBase
{
  public void connect();

  public List<Patient> getData() throws IOException, ClassNotFoundException;

  public void disConnect();

  public void saveData(List<Patient> patients) throws IOException;
}
